﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataModel
{
    public class XYZ
    {
        public double x, y, z;

        public XYZ(double x, double y, double z)
        {
            this.x = x;
            this.y = y;
            this.z = z;
        }

        public virtual double X
        {
            get
            {
                return x;
            }
            set
            {
                this.x = value;
            }
        }


        public virtual double Y
        {
            get
            {
                return y;
            }
            set
            {
                this.y = value;
            }
        }


        public virtual double Z
        {
            get
            {
                return z;
            }
            set
            {
                this.z = value;
            }
        }


        public override string ToString()
        {
            return x + "," + y + "," + z;
        }

    }
}
